A General Framework for Inheritance Management and Method Dispatch in Object-Oriented Languages
نویسندگان
چکیده
This paperpresents the DT Framework, a collection of object-oriented classes representing a generalized framework for inheritance management and table-based method dispatch. It demonstrates how most existing table-based dispatch techniques can be generalized and made incremental, so that relevant entries in the dispatch table are modified each time a selector or class hierarchy link is added or removed. The incremental nature makes the framework highly efficient, with low millisecond average modification time, and supports tablebased dispatch even in schema-evolving languages. During table maintenance, the framework detects and records inheritance conflicts, and maintains information useful during compile-time optimizations.
منابع مشابه
Inheritance Management and Method Dispatch in Reeexive Object-oriented Languages
A collection of algorithms and data structures are presented which represent a generalized framework for inheritance management and method dispatch in reeexive, dynamically typed, single-receiver languages with type/implementation-paired multiple inheritance. By storing a small amount of information, the algorithms can incrementally maintain the entire dispatch environment during the four funda...
متن کاملA Framework For Inheritance Management and Method Dispatch
Most object-oriented frameworks are motivated by industry, and are developed for a particular application domain, like user interfaces, or database management. The framework presented here is somewhat unusual in that the framework is used to implement object-oriented languages. We will make a distinction between the framework client (the software that invokes the framework) and the framework us...
متن کاملIncremental Table-based Method Dispatch for Reeexive Object-oriented Languages
A collection of algorithms and data structures are presented which provide incremental dispatch table modiication. Incrementally modiied dispatch tables allow table-based dispatch techniques to be used in reeexive, dynamically typed, single-receiver languages with type/implementation-paired multiple inheritance. By storing a small amount of information, the algorithms can incrementally maintain...
متن کاملIncremental Table-Based Method Dispatch for Reflective Object-Oriented Languages
A collection of algorithms and data structures are presented which provide incremental dispatch table modification. Incrementally modified dispatch tables allow table-based dispatch techniques to be used in reflective, dynamically typed, single-receiver languages with type/implementation-paired multiple inheritance. By storing a small amount of information, the algorithms can incrementally main...
متن کاملThe Design of a Completely Visual Object-Oriented Programming Language
Object-oriented languages provide powerful programming features such as polymorphism, inheritance, and dynamic dispatch. While these features allow complex programs to be written more easily, they also make debugging and understanding these programs more di cult. Object-oriented languages have relied on simple visualization tools such as class browsers to aid programmers in understanding their ...
متن کامل